script=$0
scriptDir=$(cd $(dirname $0); pwd)
cd ${scriptDir}
pid=`cat main.pid`
if [ ${pid} ]
  then
    kill -15 ${pid}
fi


